# -*- coding: utf-8 -*-
# @Time    : 2022/1/11 15:22
# @Author  : 魏福齐
# @Email   : 775776913@qq.com
# @File    : page_home.py
# @Software: PyCharm
'''
首页页面
'''
from pages.base_page import BasePage
from selenium.webdriver.common.by import By


class HomePage(BasePage):
    '''首页页面类'''
    caiwu_jump_locator = (By.LINK_TEXT, '财务')

    def caiwu_jump(self):
        '''跳转到财务页面'''
        self.driver.find_element(*self.caiwu_jump_locator).click()


